<form method="post" class="form-x dux-form form-auto" id="form" action="{:U()}">
    <div class="panel dux-box  active">
        <div class="panel-head">
            <strong>{$name}职务</strong>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <div class="label">
                    <label>职务名称</label>
                </div>
                <div class="field">
                    <input type="text" class="input" id="job_name" name="job_name" size="60" datatype="*" value="{$info['job_name']}">
                    <div class="input-note">当前职务的名称</div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>职务所属部门</label>
                </div>
                <div class="field">
                    <select class="input" name="department_id">
                        <option value="">--请选择部门--</option>
                        <volist name="departmentList" id="val">
							<option value="{$val['department_id']}" <eq name="val['department_id']" value="$info['department_id']" > selected</eq>>{$val['department_name']}</option>
                        </volist>
                        
                    </select>
                    <div class="input-note">当前职务所属部门</div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>职务排序</label>
                </div>
                <div class="field">
                    <input type="text" class="input" id="job_sort" name="job_sort" size="60" datatype="n" value="{$info['job_sort']}">
                    <div class="input-note">职务排序(限数字)</div>
                </div>
            </div>
        </div>
        <div class="panel-foot">
            <div class="form-button">
                <div id="tips"></div>
                <input type="hidden" name="job_id" type="hidden" value="{$info['job_id']}">
                <button class="button bg-main" type="submit">保存</button>
                <button class="button bg" type="reset">重置</button>
            </div>
        </div>
    </div>
</form>
<script>
    Do.ready('base', function () {
        $('#form').duxFormPage();
    });
</script>